projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14a5c0b
)
Make GtkFixed use GtkStyleContext
author
Carlos Garnacho
<carlosg@gnome.org>
Tue, 4 Jan 2011 01:34:43 +0000
(
02:34
+0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Tue, 4 Jan 2011 02:06:21 +0000
(
03:06
+0100)
gtk/gtkfixed.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfixed.c
b/gtk/gtkfixed.c
index cf9fb20dfe8c5a63b65de1da8149fe54bbf80e9e..d75f599b12e0d5c065efe9d8634eab9bfef1f0b9 100644
(file)
--- a/
gtk/gtkfixed.c
+++ b/
gtk/gtkfixed.c
@@
-309,8
+309,8
@@
gtk_fixed_realize (GtkWidget *widget)
gtk_widget_set_window (widget, window);
gdk_window_set_user_data (window, widget);
- gtk_
widget_style_attach (widget);
-
gtk_style_set_background (gtk_widget_get_style (widget), window, GTK_STATE_NORMAL
);
+ gtk_
style_context_set_background (gtk_widget_get_style_context (widget),
+
window
);
}
}